﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_Cargo.cs
// 创建时间：2016/11/30
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///商品目录表(ERP_Cargo)数据实体
	/// </summary>
	[Serializable]
	public class ERP_Cargo
	{
		#region 变量定义
		
		///<summary>
		///商品ID
		///</summary>
		private int _cargoId;
		
		///<summary>
		///商品名称
		///</summary>
		private string _cargoName = String.Empty;
		
		///<summary>
		///拼音码
		///</summary>
		private string _spell = String.Empty;
		
		///<summary>
		///别名
		///</summary>
		private string _byName = String.Empty;
		
		///<summary>
		///商品代码
		///</summary>
		private string _cargoCode = String.Empty;
		
		///<summary>
		///规格
		///</summary>
		private string _spec = String.Empty;
		
		///<summary>
		///分类ID
		///</summary>
		private int _typeId;
		
		///<summary>
		///用途Id
		///</summary>
		private int _useId;
		
		///<summary>
		///产地
		///</summary>
		private string _area = String.Empty;
		
		///<summary>
		///计量单位
		///</summary>
		private string _unit = String.Empty;
		
		///<summary>
		///进口国产
		///</summary>
		private int _isImported;
		
		///<summary>
		///图片
		///</summary>
		private string _pic = String.Empty;
		
		///<summary>
		///录入人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///录入时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///停用人
		///</summary>
		private string _delUser = String.Empty;
		
		///<summary>
		///停用时间
		///</summary>
		private string _delDate = String.Empty;
		
		///<summary>
		///停用状态
		///</summary>
		private int _delState;
		
		///<summary>
		///
		///</summary>
		private string _version = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _produceName = String.Empty;
		
		///<summary>
		///
		///</summary>
		private int _state;
		#endregion
		
		#region 构造函数

		///<summary>
		///商品目录表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_Cargo()
		{
 
		}
		///<summary>
		///商品目录表
		///</summary>
		public ERP_Cargo
		(
			int cargoId,
			string cargoName,
			string spell,
			string byName,
			string cargoCode,
			string spec,
			int typeId,
			int useId,
			string area,
			string unit,
			int isImported,
			string pic,
			string inUser,
			string inDate,
			string delUser,
			string delDate,
			int delState,
			string version,
			string produceName,
			int state
		)
		{
			_cargoId     = cargoId;
			_cargoName   = cargoName;
			_spell       = spell;
			_byName      = byName;
			_cargoCode   = cargoCode;
			_spec        = spec;
			_typeId      = typeId;
			_useId       = useId;
			_area        = area;
			_unit        = unit;
			_isImported  = isImported;
			_pic         = pic;
			_inUser      = inUser;
			_inDate      = inDate;
			_delUser     = delUser;
			_delDate     = delDate;
			_delState    = delState;
			_version     = version;
			_produceName = produceName;
			_state       = state;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///商品ID
		///</summary>
		public int CargoId
		{
			get {return _cargoId;}
			set {_cargoId = value;}
		}

		
		///<summary>
		///商品名称
		///</summary>
		public string CargoName
		{
			get {return _cargoName;}
			set {_cargoName = value;}
		}

		
		///<summary>
		///拼音码
		///</summary>
		public string Spell
		{
			get {return _spell;}
			set {_spell = value;}
		}

		
		///<summary>
		///别名
		///</summary>
		public string ByName
		{
			get {return _byName;}
			set {_byName = value;}
		}

		
		///<summary>
		///商品代码
		///</summary>
		public string CargoCode
		{
			get {return _cargoCode;}
			set {_cargoCode = value;}
		}

		
		///<summary>
		///规格
		///</summary>
		public string Spec
		{
			get {return _spec;}
			set {_spec = value;}
		}

		
		///<summary>
		///分类ID
		///</summary>
		public int TypeId
		{
			get {return _typeId;}
			set {_typeId = value;}
		}

		
		///<summary>
		///用途Id
		///</summary>
		public int UseId
		{
			get {return _useId;}
			set {_useId = value;}
		}

		
		///<summary>
		///产地
		///</summary>
		public string Area
		{
			get {return _area;}
			set {_area = value;}
		}

		
		///<summary>
		///计量单位
		///</summary>
		public string Unit
		{
			get {return _unit;}
			set {_unit = value;}
		}

		
		///<summary>
		///进口国产
		///</summary>
		public int IsImported
		{
			get {return _isImported;}
			set {_isImported = value;}
		}

		
		///<summary>
		///图片
		///</summary>
		public string Pic
		{
			get {return _pic;}
			set {_pic = value;}
		}

		
		///<summary>
		///录入人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///录入时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///停用人
		///</summary>
		public string DelUser
		{
			get {return _delUser;}
			set {_delUser = value;}
		}

		
		///<summary>
		///停用时间
		///</summary>
		public string DelDate
		{
			get {return _delDate;}
			set {_delDate = value;}
		}

		
		///<summary>
		///停用状态
		///</summary>
		public int DelState
		{
			get {return _delState;}
			set {_delState = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string Version
		{
			get {return _version;}
			set {_version = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string ProduceName
		{
			get {return _produceName;}
			set {_produceName = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}
	
		#endregion
		
	}
}